<template>
  <div>
    <van-nav-bar title="修改密码">
      <img
        src="~assets/image/arrow_left.png"
        alt=""
        width="20"
        height="20"
        slot="left"
        @click="leftClick"
      />
    </van-nav-bar>
    <div class="item" @click="resetloginPwd">
      <span>重置登录密码</span>
      <img
        src="../../assets/image/arr_rigth.png"
        alt=""
        width="9"
        height="15"
      />
    </div>

    <div class="item xian" @click="resetTransactionPwd">
      <span>重置交易密码</span>
      <img
        src="../../assets/image/arr_rigth.png"
        alt=""
        width="9"
        height="15"
      />
    </div>
  </div>
</template>
<script>
export default {
  created() {
    this.brandId = localStorage.getItem("brandId");
  },
  data() {
    return {};
  },
  mounted() {},
  methods: {
    leftClick() {
      this.$router.back(-1);
    },
    resetloginPwd() {
      this.$router.push("/forgetLoginPassword");
    },
    resetTransactionPwd() {
      this.$router.push("/resettransactionpwd");
    },
  },
};
</script>

<style  scoped>
.item {
  display: flex;
  justify-content: space-between;
  background-color: #fff;
  font-size: 16px;
  line-height: 30px;
  padding-left: 20px;
  padding-right: 20px;
  align-items: center;
  height: 42px;
}
.xian {
  margin-top: 1px;
}
</style>